<template>
  <div>
    <el-container>
      <el-container style="border: 1px solid #eee">
        <el-header style="height: 92px">
          <i class="ico_kf"></i>
          <h3>客服服务</h3>
          <div class="font_img"></div>
        </el-header>
        <el-main>
          <div class="kf_box">
            <div class="kf_item">
              <div></div>
              <span>返利帮助</span>
              <div>
                <a>如何申请返利</a>
                <span>无法申请返利</span>
                <span>返利到账时间</span>
                <span>返利到账方式</span>
                <span>道具申请方式</span>
                <span>返利未到怎么办</span>
                <span>返利到账不符</span>
                <span>如何查看角色ID</span>
              </div>
            </div>

            <div class="kf_item">
              <div class="ico_cz"></div>
              <span>充值帮助</span>
              <div>
                <a>如何申请返利</a>
                <span>充值未到账</span>
                <span>支付限额怎么办</span>
              </div>
            </div>

            <div class="kf_item">
              <div class="ico_aq"></div>
              <span>账户安全</span>
              <div>
                <a>如何申请返利</a>
                <span>忘记账号</span>
                <span>忘记密码</span>
                <span>如何绑定手机号</span>
              </div>
            </div>
            <div class="kf_item">
              <div class="ico_qt"></div>
              <span>其他帮助</span>
              <div>
                <a>下载登录异常</a>
                <span>游戏内悬浮球</span>
                <span>电脑如何玩手游</span>
                <span>IOS设置信任</span>
              </div>
            </div>
          </div>
        </el-main>
      </el-container>
      <el-aside>
        <div>
          <img
            src="http://app003.bacms.cn/template/pcmoban/images/service012ada.png"
            alt=""
          />
        </div>
        <div>
          <img
            src="http://app003.bacms.cn/template/pcmoban/images/service022ada.png"
            alt=""
          />
        </div>
        <div>
          <img
            src="http://app003.bacms.cn/template/pcmoban/images/service032ada.png"
            alt=""
          />
        </div>
      </el-aside>
    </el-container>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.el-container {
  margin: 20px 30px;
  // background-color: #f3f3f3;
}

.el-header {
  // padding-top: 0;
  background: #217fd7;
  height: 92px;
  position: relative;
  padding-left: 35px;

  .ico_kf {
    width: 38px;
    height: 38px;
    display: inline-block;
    background: url(http://app003.bacms.cn/template/pcmoban/images/faq_icon.png)
      no-repeat 0 0;
    overflow: hidden;
    margin-right: 10px;
    margin-top: 28px;
    vertical-align: middle;
  }

  .font_img {
    width: 215px;
    height: 72px;
    position: absolute;
    background: url(http://app003.bacms.cn/template/pcmoban/images/faq_icon.png)
      no-repeat 0 -48px;
    right: 20px;
    top: 10px;
  }

  > h3 {
    font-size: 24px;
    line-height: 38px;
    height: 38px;
    color: #ffffff;
    display: inline-block;
    margin-top: 28px;
    vertical-align: middle;
  }
}

.el-aside {
  // background-color: #f3f3f3;
  color: white;
  margin-right: 30px;
  width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  div > img {
    cursor: pointer;
    margin-top: 20px;
    background-color: #71d4fd;
    height: 160px;
  }
}

.el-main {
  padding-bottom: 50px;
  height: calc(100% - 50px);
  // overflow-y: auto;
  // 取消滚动条
  &::-webkit-scrollbar {
    display: none;
  }
  background-color: #ffffff;
  color: #4b4a49;
  display: flex;
  justify-content: center;
  align-items: center;

  .kf_box {
    display: flex;
    // min-width: 920px;
    flex-wrap: wrap;

    .ico_cz {
      // background-image: url(http://app003.bacms.cn/template/pcmoban/images/service.png);
      background-position: 0 -204px;
    }
    .ico_aq {
      background-position: 0 -102px;
    }
    .ico_qt {
      background-position: 0 -306px;
    }

    .kf_item {
      cursor: pointer;
      margin: 0 10px;
      flex: 1;
      border: 1px #e2e2e2 solid;
      min-width: calc((100% - 50px) / 2);
      // height: 150px;
      > div:first-child {
        // background-color: red;
        width: 102px;
        height: 102px;
        display: block;
        margin: 10px auto 10px auto;
        background-image: url(http://app003.bacms.cn/template/pcmoban/images/service.png);
      }
      > span:nth-child(2) {
        // background-color: red;
        font-size: 18px;
        color: #4b4a49;
        font-weight: bold;
        height: 40px;
        line-height: 40px;
        display: block;
        text-align: center;
      }
      > div:last-child {
        // background-color: #eee;
        text-align: center;
        font-size: 0px;
        padding: 0 20px;
        > span {
          padding: 5px 10px;
          display: inline-block;
          font-size: 12px;
          color: #888;
        }
      }
    }
  }
}

// body > .el-container {
//   background-color: red;
//   margin-bottom: 40px;
// }
// .el-container .el-aside {
//   line-height: 260px;
// }
</style>
